package com.infonova.education.microservice.service;

import com.infonova.education.microservice.repository.entity.Product;
import java.util.HashMap;
import java.util.List;


public interface ProductService {

    List<Product> getAllProducts();

    void saveProduct(Product product);
    
    Long createProduct(Product product);
    
    double priceForRegion(Long id, String region);
    
    Product getProduct(Long id);
    
    Long updateProduct(Long id, Product product);
    
    void deleteProduct(Long id);
    
    List<Product> getAllowedProducts(int age, String locale);
    
    long nextID();
    

}
